package 第七周;

public class CPU {
    private int speed;

    public CPU() {}

    public CPU(int speed)
    {
        this.speed = speed;
    }

    public int getSpeed()
    {
        return speed;
    }

    public void setSpeed(int speed)
    {
        this.speed = speed;
    }
}
